package com.imagine.service;

import com.imagine.entity.BaseResult;
import com.imagine.entity.CapitalAccount;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * Created by liangyue on 2017/9/26.
 */
public interface CapitalAccountService {
    CapitalAccount getCapitalAccountById(String cAccountid);
    void insertCapitalAccount(CapitalAccount account);
    void updateRemainOrUsable(int remainOrUsable, String cAccountId, String operator, double amount);
    BaseResult getCapitalFlowByCId(String cAccountId);
    BaseResult insertOptionalStock(String cAccountId, String securityId);
    BaseResult deleteOptionalStock(String cAccountId, String securityId);
    BaseResult getAllOptionalStocks(String cAccountId);

}
